package com.dc.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 巡检路线中间表
 *
 * @author feishaobin
 * @email
 * @date 2021-12-24 10:36:42
 */
@Data
@ApiModel
@TableName("dc_inspection_relation")
public class InspectionRelation implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @TableId
    @ApiModelProperty(value = "")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    /**
     * dc_inspection_route表id(路线)
     */
    @ApiModelProperty(value = "dc_inspection_route表id(路线)")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long routeId;
    /**
     * dc_inspection_position表id (点位)
     */
    @ApiModelProperty(value = "dc_inspection_position表id (点位)")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long positionId;

}
